<?php

namespace App\Models\Dynamic;

use App\Models\BasicModel;
use App\Models\User;
use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class Report extends BasicModel
{
	use HasDateTimeFormatter;
    protected $table = 'dynamic_report';

    public function user()
    {
        return $this->belongsTo(User::class, 'user_id', 'id');
    }

    public function dynamic()
    {
        return $this->belongsTo(Lists::class, 'dynamic_id', 'id');
    }
}
